import React from 'react';
import {ScrollView} from "@gluestack-ui/themed";

const KScrollView = (props: React.ComponentProps<typeof ScrollView>) => {
    const {
        children,
        ...attrs
    } = props;
    return (
        <ScrollView
            showsVerticalScrollIndicator={false}
            showsHorizontalScrollIndicator={false}
            bounces={false}
            {...attrs}
        >
            {children}
        </ScrollView>
    );
};

export default KScrollView;